package net.tngou.iask.pojo;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 死亡记录 讣告
 * @author tngou@tngou.net
 *
 */
public class Obituary extends POJO {
	private long access 	;//  	  	对应随访记录 
	private long patient 	;//  	  	病人ID 
	private Date deathstamp 	;//  	  	死亡时间 
	private int cause;  //    死亡原因：0（未知）、1（死于疾病）、2（自然死亡）、3（外意伤亡）
	private int deathplace 	;//  	  	死亡地址：0 不详，1医院 ，2家中 3外出 
	private String description; //死亡说明
	private long user 	;// 	  	记录人 
	private Timestamp time 	;//  	  	创建时间 
	public long getAccess() {
		return access;
	}
	public void setAccess(long access) {
		this.access = access;
	}
	public long getPatient() {
		return patient;
	}
	public void setPatient(long patient) {
		this.patient = patient;
	}	
	public Date getDeathstamp() {
		return deathstamp;
	}
	public void setDeathstamp(Date deathstamp) {
		this.deathstamp = deathstamp;
	}
	public int getDeathplace() {
		return deathplace;
	}
	public void setDeathplace(int deathplace) {
		this.deathplace = deathplace;
	}
	public long getUser() {
		return user;
	}
	public void setUser(long user) {
		this.user = user;
	}
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	public int getCause() {
		return cause;
	}
	public void setCause(int cause) {
		this.cause = cause;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
